package org.jeecg.modules.orderRaise.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.persistence.Transient;

/**
 * @Description: 用户加价
 * @author： jeecg-boot
 * @date：   2021-03-30
 * @version： V1.0
 */
@Data
@TableName("order_raise")
public class OrderRaise implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.UUID)
	private String id;
	/**真实姓名*/
	@Excel(name = "真实姓名", width = 15)
	@Transient
	@TableField(exist = false)
	private String realname;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
	private String userid;
	/**订单id*/
	@Excel(name = "订单id", width = 15)
	private String orderid;
	/**加价*/
	@Excel(name = "加价", width = 15)
	private String raise;
	/**加价原因*/
	@Excel(name = "加价原因", width = 15)
	private String reason;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**加价状态*/
	@Excel(name = "加价状态", width = 15)
	private Integer status;
}
